package com.zl.annotation.demo1.dao.impl;/**
 * @author suke
 * @create 2021-07-31 9:50
 */

import com.zl.annotation.demo1.dao.UserDao;
import com.zl.annotation.pojo.User;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Repository;

/**
 * TODO
 * @ClassName: UserDaoImpl
 * @author: suke
 * @since: 2021/7/31 9:50
 */
@Repository("userDao")
public class UserDaoImpl implements UserDao {
    @Override
    public void addUser(User user) {
        System.out.println("保存成功....");
    }

    @Override
    public User queryById(int id) {
        System.out.println("查询成功...");
        return null;
    }
}
